From 5ee550f8ba03af72ac947e9385c3b905cccbdfa7 Mon Sep 17 00:00:00 2001 From: Jimi Xenidis Date: Mon, 2 Oct 2006 21:43:09 -0400 Subject: [PATCH] [XEN][POWERPC] An OK spot to flush the I-Cache Its not the best, but it will do for now. Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --HG-- extra : transplant_source : %D1%F6%D0%F8%20%D8%90%AC%60u%F4z%D1%BAn8%01%21g%B4 --- xen/arch/powerpc/domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/powerpc/domain.c b/xen/arch/powerpc/domain.c index fead81dad1..83a649c4d6 100644 --- a/xen/arch/powerpc/domain.c +++ b/xen/arch/powerpc/domain.c @@ -232,6 +232,7 @@ void context_switch(struct vcpu *prev, struct vcpu *next) mtsdr1(next->domain->arch.htab.sdr1); local_flush_tlb(); /* XXX maybe flush_tlb_mask? */ + cpu_flush_icache(); if (is_idle_vcpu(next)) { reset_stack_and_jump(idle_loop); -- 2.30.2